package com.timoon.component.behavior.ztree;

import org.apache.wicket.request.resource.JavaScriptResourceReference;

import com.googlecode.wicket.jquery.ui.Options;

/**
 *<p>带复选框的ztree</p>
 *<p></p>
 *<p>Copyright:Copyright(c)2013.4.1</p>
 *<p>Company:timoon</p>
 *@author 付乐天
 *@version 1.0 */
public class ZTreeWithCheckboxBehavior extends AbstractZTreeBehavior {

	/**
	 * 
	 */
	private static final long serialVersionUID = 8084849190776721855L;

	private static final String METHOD="myztreeCheckbox";
	
	public ZTreeWithCheckboxBehavior(String selector, Options options) {
		super(selector, ZTreeWithCheckboxBehavior.METHOD, options);
		// TODO Auto-generated constructor stub
		this.add(new JavaScriptResourceReference(this.getClass(), "jquery.ztree.excheck-3.5.min.js"));
		this.add(new JavaScriptResourceReference(this.getClass(), "myztreeCheckbox.js"));
	}

}
